:root
{
    --label-width: 40px;
    --column-height: 30px;
    --column-button-size: 32px;
    --column-button-spacing: 128px;

}

.input-label
{
    display: inline-block;
    width: var(--label-width);
}

.table-name
{
    width: 80%;
    max-width: 400px;
    height: 30px;
    margin: auto;
    align-self: center;
}

.table-name-input
{
    width: calc(100% - var(--label-width) - 32px);
}

.content-box
{
    width: 60%;
    margin: auto;
}

.row-box
{
    margin: 10px auto;
    display: block;
    padding: 0;
    border: 1px solid #000;
    border-radius: 10px;
}

.row-key
{
    padding: 20px 10px;
}

.row-key-del
{
    display: inline-block;
    position: absolute;
    padding: 14px;
    inset-inline-start: calc(80% - 64px);
    background-image: url("../icon/close.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 18px;
    background-color: rgba(255, 50, 50, 0.8);
    border: none;
    height: 18px;
    width: 18px;
    border-radius: 3px;
    transition: 0.2s;
    box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.8);
}

.row-key-del:hover
{
    background-color: rgba(255, 0, 0, 1);
    box-shadow: 0 0 4px 0 rgba(255, 0, 0, 0.8);
}

.row-key-del:active
{
    background-color: rgba(255, 0, 0, 1);
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 1);
}

.column-box, .column-box-remote, .column-button-box
{
    height: var(--column-height);
    margin: 0;
    border-top: 1px solid #000;
    padding: 10px;
    width: calc(100% - 20px);
}

.column-del
{
    display: inline-block;
    position: absolute;
    margin: 5px;
    padding: 10px;
    inset-inline-start: calc(80% - 64px);
    background-image: url("../icon/close.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 14px;
    background-color: rgba(255, 50, 50, 0.8);
    border: none;
    height: 14px;
    width: 14px;
    border-radius: 4px;
    transition: 0.2s;
    box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.8);
}

.column-del:hover
{
    background-color: rgba(255, 0, 0, 1);
    box-shadow: 0 0 4px 0 rgba(255, 0, 0, 0.8);
}

.column-del:active
{
    background-color: rgba(255, 0, 0, 1);
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 1);
}

.can-search, .can-cut
{
    z-index: 1;
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 25px;
    width: 25px;
    margin: calc(var(--column-height) / 2 - 12px) 0 0 10px;
}

.can-cut
{
    margin-left: 40px;
}

.can-search-checkmark, .can-cut-checkmark
{
    z-index: 0;
    position: absolute;
    height: 25px;
    width: 25px;
    margin: calc(var(--column-height) / 2 - 12px) 0 0 10px;
    border-radius: 20%;
    background-color: rgba(0, 0, 0, 0);
    background-size: 25px;
    background-repeat: no-repeat;
    background-position: center;
}

.can-search-checkmark
{
    background-image: url("../icon/search_b.svg");
}

.can-cut-checkmark
{
    margin-left: 40px;
    background-image: url("../icon/cut_b.svg");
}


.can-search:hover ~ .can-search-checkmark, .can-cut:hover ~ .can-cut-checkmark {
    background-color: rgba(0, 0, 0, 0.2);
}

.can-search:checked ~ .can-search-checkmark
{
    background-image: url("../icon/nosearch_b.svg");
}

.can-cut:checked ~ .can-cut-checkmark
{
    background-image: url("../icon/nocut_b.svg");
}

.add-button, .ebb-button
{
    background-color: rgba(0, 0, 0, 0);
    height: var(--column-button-size);
    width: var(--column-button-size);
    padding: 0;
    border: 1px solid #000;
    border-radius: 8px;
    transition: 0.1s;
    opacity: 0.5;
    box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.8);
}

.add-button:hover, .ebb-button:hover
{
    opacity: 1;
    box-shadow: 0 0 4px 0 rgba(0, 0, 255, 0.8);
}

.add-button:active, .ebb-button:active
{
    background-color: rgba(100, 100, 60, 0.1);
    opacity: 1;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.8);
}

.add-button
{
    margin: 0 calc(var(--column-button-spacing) / 2) 0 calc(50% - 4px - var(--column-button-size) - var(--column-button-spacing) / 2);
}

.ebb-button
{
    margin: 0 calc(50% - 4px - var(--column-button-size) - var(--column-button-spacing) / 2) 0 calc(var(--column-button-spacing) / 2);
}

.float-button-box
{
    z-index: 199;
    position: fixed !important;
    right: 100px;
    bottom: 100px;
}

.float-button
{
    width: 64px;
    height: 64px;
    border-radius: 32px;
    border: none;
    display: block;
    margin-top: 20px;
    margin-bottom: 20px;
    background-color: rgba(150, 150, 255, 0.7);
    box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.8);
    transition: 0.3s;
}

.float-button:hover
{
    background-color: rgba(100, 100, 255, 0.7);
    box-shadow: 0 0 4px 0 rgba(100, 100, 255, 0.8);
}

.float-button:active
{
    background-color: rgba(100, 100, 255, 1);
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.8);
}

#float-add-button
{
    background-image: url("../icon/add.svg");
    background-position: center;
    background-size: 32px;
    background-repeat: no-repeat;
}

#float-ok-button
{
    background-image: url("../icon/ok.svg");
    background-position: center;
    background-size: 32px;
    background-repeat: no-repeat;
}

#data-get-dialog
{
    z-index: 399;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    position: fixed;
    top: 0;
    left: 0;
    display: none;
}

.data-get-dialog-window
{
    width: 60%;
    height: 55%;
    margin-top: 120px;
    padding: 0;
    margin-left: auto;
    margin-right: auto;

    background-color: #fcfcf0;
    border: 1px solid #000;
    border-radius: 10px;
}

.data-get-dialog-window-title
{
    display: inline-block;
    position: absolute;
    inset-inline-start: calc(20% + 25px);
    margin-top: 15px;
    height: 28px;
    text-align: center;
    line-height: 28px;
}

.data-get-dialog-ok-button
{
    position: absolute;
    top: calc(55% - 60px);
    inset-inline-end: calc(20% + 100px);
    width: 64px;
    height: 64px;
    border-radius: 32px;
    border: none;
    display: block;
    margin-top: 20px;
    margin-bottom: 20px;
    background-image: url("../icon/ok.svg");
    background-position: center;
    background-size: 32px;
    background-repeat: no-repeat;
    background-color: rgba(100, 255, 100, 0.7);
    box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.2);
    transition: 0.3s;
}

.data-get-dialog-ok-button:hover
{
    background-color: rgba(50, 255, 50, 0.7);
    box-shadow: 0 0 4px 0 rgba(100, 255, 100, 0.8);
}

.data-get-dialog-ok-button:active
{
    background-color: rgba(100, 255, 100, 1);
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.8);
}

.data-get-dialog-window-content
{
    position: absolute;
    top: 180px;
    width: 40%;
    height: calc(55% - 250px);
    padding: 96px 10%;
    margin: 0;
    border-top: 1px solid #000;
}

.data-get-dialog-window-content label
{
    width: 50px;
}

.data-get-dialog-window-content input
{
    width: calc(100% - 50px);
}